import http from '@/utils/request'
export const getList = (params) => {
    return new Promise((resolve, reject) => {
        setTimeout(()=>{
            resolve([{
                id: Date.now(),
                name: '小花',
                type: '事假',
                content: '请假内容',
                startDate: '2021-06-01',
                endDate: '2021-06-02',
                status: '未审核',
                createDate: '2021-06-01 12:00:00'
              }])
        }, 500)
    })
//     return http({
//        method: 'get',
//        url: '/getList',
//        params
//     })
}